<?php
/* @var $this ScheduleController */
/* @var $model Schedule */

$this->breadcrumbs=array(
	'Management'=>array('/site/management/'),
	'User Schedules'=> array('/schedule/admin', 'id'=>$model->iduser),
	'Update Day Schedule',
);

$this->menu=array(
	//array('label'=>'List Schedule', 'url'=>array('index')),
	array('label'=>'Create Schedule', 'url'=>array('create', 'id'=>$model->iduser)),
	array('label'=>'View Schedule', 'url'=>array('view', 'id'=>$model->idschedule)),
	array('label'=>'Delete Schedule', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->idschedule),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Schedules', 'url'=>array('admin', 'id'=>$model->iduser)),
);
?>

<h1>Updating <?php echo $model->weekday_relation->name; ?>'s Schedule for <?php echo $model->user_relation->fullname; ?> </h1>

<?php echo $this->renderPartial('_update_form', array('model'=>$model)); ?>